package com.weizhi.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class SectionDto {
    private Long id;

    private String title;

    private Long courseId;

    private Long chapterId;

    private String video;

    private Integer time;

    private Integer charge;

    private Integer sort;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateDate;
}
